package com.education.teach.mvp.model.bean;

import java.io.Serializable;
import java.util.List;

public class CoursewareBean implements Serializable {

    /**
     * code : 0
     * massege : 成功
     * result : {"afterPage":0,"beforePage":1,"currentPage":1,"firstRow":0,"maxRows":10,"queryList":[{"attRealUrl":"《巴东三峡》.docx","attType":"word_pic.png","attUrl":"f847ca1f-4fb8-4cec-bb74-20586f8bc940_《巴东三峡》_.docx","createDate":1540777448000,"createName":"1307","desp":"巴东三峡","dir":{"edition":{"id":28,"name":"一年级上册","parentId":5,"path":"1/2/5/28/","type":4},"editionPath":"1/2/5/28/","id":9,"name":"第一节","parentId":8,"path":"8/9/","type":2},"documentName":"巴东三峡","downLoadCount":1,"fileAttType":"1","fileType":"1","id":26,"jiaoShiName":"刘海波老师","lookCount":3,"photo":"c62884ba-9405-4020-b602-5ae7ffa04568.jpg","realUrl":"《巴东三峡》.docx","type":"word_pic.png","url":"a9da5023-b00e-4d43-a395-0aa9c2307f9c_《巴东三峡》_.docx","xuexiaoId":"540104101"}]}
     */

    private int code;
    private String massege;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMassege() {
        return massege;
    }

    public void setMassege(String massege) {
        this.massege = massege;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean implements Serializable {
        /**
         * afterPage : 0
         * beforePage : 1
         * currentPage : 1
         * firstRow : 0
         * maxRows : 10
         * queryList : [{"attRealUrl":"《巴东三峡》.docx","attType":"word_pic.png","attUrl":"f847ca1f-4fb8-4cec-bb74-20586f8bc940_《巴东三峡》_.docx","createDate":1540777448000,"createName":"1307","desp":"巴东三峡","dir":{"edition":{"id":28,"name":"一年级上册","parentId":5,"path":"1/2/5/28/","type":4},"editionPath":"1/2/5/28/","id":9,"name":"第一节","parentId":8,"path":"8/9/","type":2},"documentName":"巴东三峡","downLoadCount":1,"fileAttType":"1","fileType":"1","id":26,"jiaoShiName":"刘海波老师","lookCount":3,"photo":"c62884ba-9405-4020-b602-5ae7ffa04568.jpg","realUrl":"《巴东三峡》.docx","type":"word_pic.png","url":"a9da5023-b00e-4d43-a395-0aa9c2307f9c_《巴东三峡》_.docx","xuexiaoId":"540104101"}]
         */

        private int afterPage;
        private int beforePage;
        private int currentPage;
        private int firstRow;
        private int maxRows;
        private List<QueryListBean> queryList;

        public int getAfterPage() {
            return afterPage;
        }

        public void setAfterPage(int afterPage) {
            this.afterPage = afterPage;
        }

        public int getBeforePage() {
            return beforePage;
        }

        public void setBeforePage(int beforePage) {
            this.beforePage = beforePage;
        }

        public int getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public int getFirstRow() {
            return firstRow;
        }

        public void setFirstRow(int firstRow) {
            this.firstRow = firstRow;
        }

        public int getMaxRows() {
            return maxRows;
        }

        public void setMaxRows(int maxRows) {
            this.maxRows = maxRows;
        }

        public List<QueryListBean> getQueryList() {
            return queryList;
        }

        public void setQueryList(List<QueryListBean> queryList) {
            this.queryList = queryList;
        }

        public static class QueryListBean implements Serializable {
            /**
             * attRealUrl : 《巴东三峡》.docx
             * attType : word_pic.png
             * attUrl : f847ca1f-4fb8-4cec-bb74-20586f8bc940_《巴东三峡》_.docx
             * createDate : 1540777448000
             * createName : 1307
             * desp : 巴东三峡
             * dir : {"edition":{"id":28,"name":"一年级上册","parentId":5,"path":"1/2/5/28/","type":4},"editionPath":"1/2/5/28/","id":9,"name":"第一节","parentId":8,"path":"8/9/","type":2}
             * documentName : 巴东三峡
             * downLoadCount : 1
             * fileAttType : 1
             * fileType : 1
             * id : 26
             * jiaoShiName : 刘海波老师
             * lookCount : 3
             * photo : c62884ba-9405-4020-b602-5ae7ffa04568.jpg
             * realUrl : 《巴东三峡》.docx
             * type : word_pic.png
             * url : a9da5023-b00e-4d43-a395-0aa9c2307f9c_《巴东三峡》_.docx
             * xuexiaoId : 540104101
             */

            private String attRealUrl;
            private String attType;
            private String attUrl;
            private long createDate;
            private String createName;
            private String desp;
            private DirBean dir;
            private String documentName;
            private int downLoadCount;
            private String fileAttType;
            private String fileType;
            private int id;
            private String jiaoShiName;
            private int lookCount;
            private String photo;
            private String realUrl;
            private String type;
            private String url;
            private String xuexiaoId;

            public String getAttRealUrl() {
                return attRealUrl;
            }

            public void setAttRealUrl(String attRealUrl) {
                this.attRealUrl = attRealUrl;
            }

            public String getAttType() {
                return attType;
            }

            public void setAttType(String attType) {
                this.attType = attType;
            }

            public String getAttUrl() {
                return attUrl;
            }

            public void setAttUrl(String attUrl) {
                this.attUrl = attUrl;
            }

            public long getCreateDate() {
                return createDate;
            }

            public void setCreateDate(long createDate) {
                this.createDate = createDate;
            }

            public String getCreateName() {
                return createName;
            }

            public void setCreateName(String createName) {
                this.createName = createName;
            }

            public String getDesp() {
                return desp;
            }

            public void setDesp(String desp) {
                this.desp = desp;
            }

            public DirBean getDir() {
                return dir;
            }

            public void setDir(DirBean dir) {
                this.dir = dir;
            }

            public String getDocumentName() {
                return documentName;
            }

            public void setDocumentName(String documentName) {
                this.documentName = documentName;
            }

            public int getDownLoadCount() {
                return downLoadCount;
            }

            public void setDownLoadCount(int downLoadCount) {
                this.downLoadCount = downLoadCount;
            }

            public String getFileAttType() {
                return fileAttType;
            }

            public void setFileAttType(String fileAttType) {
                this.fileAttType = fileAttType;
            }

            public String getFileType() {
                return fileType;
            }

            public void setFileType(String fileType) {
                this.fileType = fileType;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getJiaoShiName() {
                return jiaoShiName;
            }

            public void setJiaoShiName(String jiaoShiName) {
                this.jiaoShiName = jiaoShiName;
            }

            public int getLookCount() {
                return lookCount;
            }

            public void setLookCount(int lookCount) {
                this.lookCount = lookCount;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getRealUrl() {
                return realUrl;
            }

            public void setRealUrl(String realUrl) {
                this.realUrl = realUrl;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getXuexiaoId() {
                return xuexiaoId;
            }

            public void setXuexiaoId(String xuexiaoId) {
                this.xuexiaoId = xuexiaoId;
            }

            public static class DirBean {
                /**
                 * edition : {"id":28,"name":"一年级上册","parentId":5,"path":"1/2/5/28/","type":4}
                 * editionPath : 1/2/5/28/
                 * id : 9
                 * name : 第一节
                 * parentId : 8
                 * path : 8/9/
                 * type : 2
                 */

                private EditionBean edition;
                private String editionPath;
                private int id;
                private String name;
                private int parentId;
                private String path;
                private int type;

                public EditionBean getEdition() {
                    return edition;
                }

                public void setEdition(EditionBean edition) {
                    this.edition = edition;
                }

                public String getEditionPath() {
                    return editionPath;
                }

                public void setEditionPath(String editionPath) {
                    this.editionPath = editionPath;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getParentId() {
                    return parentId;
                }

                public void setParentId(int parentId) {
                    this.parentId = parentId;
                }

                public String getPath() {
                    return path;
                }

                public void setPath(String path) {
                    this.path = path;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public static class EditionBean {
                    /**
                     * id : 28
                     * name : 一年级上册
                     * parentId : 5
                     * path : 1/2/5/28/
                     * type : 4
                     */

                    private int id;
                    private String name;
                    private int parentId;
                    private String path;
                    private int type;

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public int getParentId() {
                        return parentId;
                    }

                    public void setParentId(int parentId) {
                        this.parentId = parentId;
                    }

                    public String getPath() {
                        return path;
                    }

                    public void setPath(String path) {
                        this.path = path;
                    }

                    public int getType() {
                        return type;
                    }

                    public void setType(int type) {
                        this.type = type;
                    }
                }
            }
        }
    }
}
